package com.xing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @version 1.0
 * @Author Xing
 * @Date 2024/7/16 11:44
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("xun_article")
public class ArticleEntity {
    @TableId(type = IdType.NONE)
    private Long postId;
    private String title;
    private String content;
    private Long userId;
    private Integer status;
    private Date created;
    private Date lastModified;
}
